//
//  ViewController.h
//  02.18P.M. ControlFun
//
//  Created by student on 16/2/18.
//  Copyright © 2016年 niit. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;
@property (weak, nonatomic) IBOutlet UILabel *slideValueLabel;

@property (weak, nonatomic) IBOutlet UISwitch *leftSwitch;

@property (weak, nonatomic) IBOutlet UISwitch *rightSwitch;
@property (weak, nonatomic) IBOutlet UIButton *doSthBtn;



- (IBAction)slideValueChanged:(UISlider *)sender;

- (IBAction)segementChanged:(UISegmentedControl *)sender;
- (IBAction)switchChanged:(UISwitch *)sender;

- (IBAction)doSthPress:(UIButton *)sender;
@end

